package org.example.service;

import org.example.domain.po.ErpRoleMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.domain.vo.ErpMenuBtnVO;

import java.util.List;
import java.util.Map;

/**
* @author DELL
* @description 针对表【erp_role_menu(角色/模块关系表)】的数据库操作Service
* @createDate 2024-10-11 10:04:58
*/
public interface ErpRoleMenuService extends IService<ErpRoleMenu> {
    List<ErpMenuBtnVO> rolePushBtnById(Long id);
    
    List<ErpMenuBtnVO> getRoleMenuBtnStr(Long roleId);
    
    int upRoleMenuStr(Map<String, Object> data);
    
    List<String> getBtnStr(Long userId, Long menuId);
}
